package com.elite.groovy.callback

import com.elite.groovy.util.EliteBean
import net.sf.json.JSONObject
import org.apache.commons.logging.Log
import org.apache.commons.logging.LogFactory

import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse

class test implements ServiceBackInvoke{

    private static final Log log = LogFactory.getLog(test.class);
    @Override
    String doCallBack(EliteBean eliteBean, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {


        JSONObject result=new JSONObject();
        result.put("code","1");
        result.put("msg","测试");
        return result.toString();
    }
}
